<?php

namespace App\Models;

use App\User;
use Illuminate\Database\Eloquent\Model;

class UserTicket extends Model
{
    public function ticket()
    {
        return $this->belongsTo( GymTicket::class, 'ticket_id');
    }

    public function user()
    {
        return $this->belongsTo( User::class, 'user_id');
    }
}
